package com.zl.roomdesignserver.entity.auth;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * Created by zhangli on 2018/5/5 14:12.<br/>
 */
@Entity
public class User {

    @Id
    @Column(name = "phone")
    private long phone;

    @Column(name = "name")
    private String name;

    @Column(name = "password")
    private String password;

    @Column(name = "deleted")
    private int deleted;

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getPhone() {
        return phone;
    }

    public void setPhone(long phone) {
        this.phone = phone;
    }

    public int getDeleted() {
        return deleted;
    }

    public void setDeleted(int deleted) {
        this.deleted = deleted;
    }
}
